package cn.tedu.jws.admin.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *业主修改信息
 */
@Data
public class OwnerUpdateDTO implements Serializable {
    //业主姓名
    /**
     * 相册名称
     */
    @ApiModelProperty(value = "业主名称", required = true, example = "张三")
    @NotNull(message = "添加业主失败，必须提交业主名称！")
    private String name;
    //业主头像
    @ApiModelProperty(value = "业主手机号", required = true, example = "业主的头像")
    @NotNull(message = "添加业主失败，必须提交业主的头像！")
    private String avatar;
    //业主性别 1表示男，0表示女
    @ApiModelProperty(value = "业主性别", required = true, example = "男")
    @NotNull(message = "添加业主失败，必须提交业主性别！")
    private String sex;
    @ApiModelProperty(value = "业主手机号", required = true, example = "15844449999")
    @NotNull(message = "添加业主失败，必须提交业主手机号！")
    private String phone;
    private String nickname;
    // 身份证
    @ApiModelProperty(value = "业主身份证号码", required = true, example = "123456789123456789")
    @NotNull(message = "添加业主失败，必须提交业主身份证号码！")
    private String card;
    // 业主地址
    @ApiModelProperty(value = "业主地址", required = true, example = "成都市孵化园e栋7楼")
    @NotNull(message = "添加业主失败，必须提交业主地址！")
    private String address;
    //门禁
    private String accessControlKey;
    private String QQ;
    // 备注
    private String remarks;


    //业主状态，0代表的是已入住，1代表的是未入住
    private Integer stateCode;

}
